Hi,
I've got the servo tuning on the mill pretty good now (well, OK for an amateur anyway...), but there is one thing that's not right.
I first config the kflop speeds/PID/etc and enable the axes with my init file, then I set the kflop output to enable the drives and everything works fine. Movement is fast, overshoot is minimal, following error is low and I'm a happy chappy.
But If I disable the drivers for any reason and then re-enable them, all three axes oscillate violently until I e-stop or kflop disables the axes due to following error.
I'm assuming that with the drives disabled, kflop trys to servo, ends up way off target, and then all hell breaks loose when the drives are re-enabled and it tries to correct?
So my questions are:
1) if motion is fine with my settings in all other situations (I've run hours of g-code), why do you think this particular situation would cause violent oscillations. I mean, isn't it just another requested motion?
2) Should I try to tune this oscillation out somehow, or simply write some code to prevent it from happening through design (eg: if the kflop output controlling the driver is off axes are disabled and vice versa). I'm worried about the code strategy, because I don't understand why it does it, so it's possible it could happen some other way.
Thanks,
Tim